#include "led.h"
//??? PB1 PC4 PD8????.?????????? 
//LED IO ???
void LED_Init(void)
{
	RCC->APB2ENR|=1<<2; //?? PORTA ?? 
	RCC->APB2ENR|=1<<3; //?? PORTB ?? 
//	RCC->APB2ENR|=1<<4; //?? PORTC ??
//	RCC->APB2ENR|=1<<5; //?? PORTD ??	
	GPIOB->CRL&=0XFF0FFFFF; 
	GPIOB->CRL|=0X00300000;//PB.5 ???? 
	GPIOB->ODR|=1<<5; //PB.5 ??? 
	
	GPIOB->CRL&=0XFFFFFFF0; 
	GPIOB->CRL|=0X00000003;//PB.0 ???? 
	GPIOB->ODR|=1<<0; //PB.0 ???
	
	GPIOA->CRL&=0XFFFFFF0F; 
	GPIOA->CRL|=0X00000030;//PA.1 ???? 
	GPIOA->ODR|=1<<1; //PA.1 ???
}

